#pragma once

#include <cocos2d.h>
#include <ECS/ECS.h>

struct LayerNodeDef
{
	mtMETA_DEC;
};

class LayerNode : public ECS::Component
{
	mtMETA_DEC;
public:
	bool initWith(LayerNodeDef* def);
protected:
	cocos2d::CCLayer* _layer;
};